export default {
  methods: {
    custMethod(url) {
      let cmt = eval('this.' + url);
      if (typeof(cmt) == 'function') {
        cmt();
      }else{
        this.$emit(url);
      }
    }
  }
}
